home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / StdIOHandler12.readme < prev    next >
Text File  |  1996-09-26  |  3KB  |  69 lines

  1. Short:    Using stdin/stdout with CLI-prgs for pipes
  2. Author:   ruppert@vs3.informatik.fh-wiesbaden.de
  3. Uploader: ruppert@vs3.informatik.fh-wiesbaden.de
  4. Type:     util/cli
  5.  
  6. StdIO-Handler                                                    StdIO-Handler
  7.  
  8. $VER: StdIO-Handler.doc
  9.  
  10. NAME
  11.     StdIO-Handler - Handler for StdIO access
  12.  
  13. FUNCTION
  14.     In december 1994 I got a PIPE package and I was very supprised about the
  15.     easy implementation of these pipes. So I used this very often with gzip
  16.     and tar. But after some tries, to use the pipes with standard Amiga CLI
  17.     programs, I found no trick to redirect the input and output to the pipes.
  18.     At this point I had a idea of writing a transparent handler. Thus the
  19.     StdIO-Handler was born, using some example code from the Device-Handler
  20.     by Matthias Scheler and Marius Gröger (Thanks for the available code !).
  21.     The only thing you have to do, is to copy the STDIO file to your
  22.     Devs:DosDrivers/ directory and the handler to your L: directory.
  23.     After this you can use it like all other devices.
  24.     Note: If you use this handler with the pipes, you can't use tools, which
  25.           Seek's in the files (see the appropriate pipes doc) !
  26.  
  27.     Example Mount File :
  28.  
  29.     /* Standard-IO Handler */
  30.     Handler     = L:StdIO-Handler
  31.     Stacksize   = 1000
  32.     Priority    = 5
  33.     GlobVec     = -1
  34.  
  35.  
  36. EXAMPLES
  37.     Output the current direcory in sorted order :
  38.     List | Sort Stdio: to Stdio:
  39.  
  40.     Output all files and subdirs last modified on august 1994 :
  41.     List ALL | search stdio: Aug-94 NONUM
  42.  
  43.     List ALL | search stdio: -s--rw-d NONUM
  44.  
  45. AUTHOR
  46.     Stefan Ruppert
  47.     Windthorststraße 5
  48.     65439 Flörsheim am Main
  49.     GERMANY
  50.     EMail: ruppert@vs3.informatik.fh-wiesbaden.de
  51.  
  52.  
  53. ============================= Archive contents =============================
  54.  
  55. Original  Packed Ratio    Date     Time    Name
  56. -------- ------- ----- --------- --------  -------------
  57.     2180     769 64.7% 17-Jan-95 02:08:36 +Install
  58.      553     319 42.3% 17-Jan-95 02:02:36 +Install.info
  59.       40      40  0.0% 05-Apr-95 23:26:34 +project
  60.      110      89 19.0% 16-Jan-95 23:28:46 +STDIO
  61.     1380     940 31.8% 05-Apr-95 23:27:06 +StdIO-Handler
  62.    12278    3703 69.8% 05-Apr-95 23:18:10 +StdIO-Handler.c
  63.      417     215 48.4% 17-Jan-95 02:02:36 +StdIO-Handler.c.info
  64.     1575     833 47.1% 05-Apr-95 23:27:06 +StdIO-Handler.doc
  65.      468     226 51.7% 17-Jan-95 02:02:36 +StdIO-Handler.doc.info
  66.      481     268 44.2% 17-Jan-95 02:02:36 +STDIO.info
  67. -------- ------- ----- --------- --------
  68.    19482    7402 62.0% 11-Apr-95 10:18:16   10 files
  69.